/* Loads the stylesheet containing Noto Color Emoji, unless we're on a
 * browser with broken font rendering that can't handle it */

const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1; 
const isBroken = isFirefox; /* My world view in a nutshell */

if (!isBroken) {
    /* We're good to go */

    const link = document.getElementById('emoji-stylesheet');
    link.href = 'style/emoji-noto.css';
}
